﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace CheccCoverplateCulvertAssemble.Entity
{
    public class RebarEntity
    {

        public RebarEntity()
        { 
        }
        /// <summary>
        /// 构造整体式盖板涵钢筋
        /// </summary>
        /// <param name="dgv_rebar1"></param>
        /// <param name="dgv_Rebar2"></param>
        /// <param name="dgv_Rebar2_1"></param>
        /// <param name="dgv_Rebar3"></param>
        /// <param name="dgv_Rebar4"></param>
        /// <param name="dgv_Rebar5"></param>
        /// <param name="dgv_Rebar6"></param>
        public RebarEntity(List<string> dgv_Rebar1, List<string> dgv_Rebar2, List<string> dgv_Rebar2_1, List<string> dgv_Rebar3, List<string> dgv_Rebar4, List<string>  dgv_Rebar5 , List<string> dgv_Rebar6)
        { 
            this.dgv_Rebar1 = dgv_Rebar1;
            this.dgv_Rebar2 = dgv_Rebar2;
            this.dgv_Rebar2_1 = dgv_Rebar2_1;
            this.dgv_Rebar3 = dgv_Rebar3;
            this.dgv_Rebar4 = dgv_Rebar4;   
            this.dgv_Rebar5 = dgv_Rebar5;
            this.dgv_Rebar6 = dgv_Rebar6;
        }
        /// <summary>
        /// 构造分离式盖板涵钢筋
        /// </summary>
        /// <param name="dgv_rebar1">支撑梁1号筋</param>
        /// <param name="dgv_Rebar2">支撑梁2号筋</param>
        /// <param name="bracingBeamLength">支撑梁长度</param>
        /// <param name="bracingBeamHeight">支撑梁高度</param>
        /// <param name="bracingBeamWidth">支撑梁宽度</param>
        /// <param name="bracingBeamInterval">支撑梁主筋边距</param>
        public RebarEntity(List<string> dgv_Rebar1, List<string> dgv_Rebar2,double bracingBeamLength ,double bracingBeamHeight,double bracingBeamWidth ,double bracingBeamInterval)
        {
            this.dgv_Rebar1 = dgv_Rebar1;
            this.dgv_Rebar2 = dgv_Rebar2;
            this.BracingBeamLength = bracingBeamLength;
            this.BracingBeamHeight = bracingBeamHeight;
            this.BracingBeamWidth = bracingBeamWidth;   
            this.BracingBeamInterval = bracingBeamInterval; 
        }
        /// <summary>
        /// 支撑梁长度
        /// </summary>
        public double BracingBeamLength { get; set; }
        /// <summary>
        /// 支撑梁高度
        /// </summary>
        public double BracingBeamHeight { get; set; }
        /// <summary>
        /// 支撑梁宽度
        /// </summary>
        public double BracingBeamWidth { get; set; }
        /// <summary>
        /// 支撑梁主筋边距
        /// </summary>
        public double BracingBeamInterval { get; set; }

        /// <summary>
        /// 1号钢筋
        /// </summary>
        public List<string> dgv_Rebar1 { get; set; } = new List<string>();

        /// <summary>
        /// 2号钢筋
        /// </summary>
        public List<string> dgv_Rebar2 { get; set; } = new List<string>();
        /// <summary>                                  
        /// 2’号钢筋                                  
        /// </summary>                                 
        public List<string> dgv_Rebar2_1 { get; set; } = new List<string>();
        /// <summary>
        /// 3号钢筋
        /// </summary>
        public List<string> dgv_Rebar3 { get; set; } = new List<string>();
        /// <summary>
        /// 4号钢筋
        /// </summary>
        public List<string> dgv_Rebar4 { get; set; } = new List<string>();
        /// <summary>
        /// 5号钢筋
        /// </summary>
        public List<string> dgv_Rebar5 { get; set; } = new List<string>();
        /// <summary>
        /// 6号钢筋
        /// </summary>
        public List<string> dgv_Rebar6 { get; set; } = new List<string>();
    }
}
